/************************************************	
 *
 * @Title: Builder.java
 * @Package com.liuhung.code.build
 * @Description: TODO
 * @author liuhung.com
 * @date 2015年9月19日
 *
 ***********************************************/
 
package com.liuhung.code;

import com.liuhung.code.build.CodeGenerateFactory;
import com.liuhung.code.build.FtlDef;

/************************************************	
 * @Description:<p> </p>
 * ClassName: Builder 
 * @author liuhung.com
 *
 ***********************************************/

public class Builder {
	
	
	public static void main(String[] args) {
		/**
		 * 主键生成策略
		 */
		String keyType = FtlDef.KEY_TYPE_01;//01是自增int 02 是uuid
		
		/**
		 * 参数1:表明
		 * 参数2:中文说明
		 * 参数3:对应包名
		 * 参数4:主键生成策略
		 */
		/**
		CodeGenerateFactory.build("shiro_model", "模型","security",keyType);
		CodeGenerateFactory.build("shiro_organ", "组织机构","security",keyType);
		CodeGenerateFactory.build("shiro_organ_permisson", "组织权限","security",keyType);
		CodeGenerateFactory.build("shiro_permission", "权限","security",keyType);
		CodeGenerateFactory.build("shiro_role", "角色","security",keyType);
		CodeGenerateFactory.build("shiro_role_permisson", "角色权限","security",keyType);
		CodeGenerateFactory.build("shiro_users", "用户","security",keyType);
		CodeGenerateFactory.build("shiro_users_role", "用户角色","security",keyType);
		CodeGenerateFactory.build("shiro_users_permission", "用户权限","security",keyType);
		
		CodeGenerateFactory.build("weixin_article", "图文消息","weixin",keyType);
		CodeGenerateFactory.build("weixin_articles", "多图文消息","weixin",keyType);
		CodeGenerateFactory.build("weixin_follow", "用户","weixin",keyType);
		CodeGenerateFactory.build("weixin_group", "用户分组","weixin",keyType);
		CodeGenerateFactory.build("weixin_inmsg", "接受消息","weixin",keyType);
		CodeGenerateFactory.build("weixin_menu", "菜单","weixin",keyType);
		CodeGenerateFactory.build("weixin_Mpact", "公众号","weixin",keyType);
		CodeGenerateFactory.build("weixin_outmsg", "发送消息","weixin",keyType);
		
		CodeGenerateFactory.build("shiro_permission", "权限","security",keyType);
		
		
		
		CodeGenerateFactory.build("ash_resource", "素材","resource",keyType);
		
		CodeGenerateFactory.build("fang_pingpai", "品牌","fang",keyType);
		CodeGenerateFactory.build("fang_project", "项目","fang",keyType);
		CodeGenerateFactory.build("fang_huxing", "户型","fang",keyType);
		CodeGenerateFactory.build("fang_libao", "礼包","fang",keyType);
		CodeGenerateFactory.build("fang_youhui", "优惠","fang",keyType);
		CodeGenerateFactory.build("fang_person", "项目","fang",keyType);
		CodeGenerateFactory.build("fang_person_libao", "礼包","fang",keyType);
		CodeGenerateFactory.build("fang_person_youhui", "优惠","fang",keyType);
		CodeGenerateFactory.build("fang_person_guanzhu", "关注","fang",keyType);
		CodeGenerateFactory.build("fang_person_kanjia", "用户砍价","fang",keyType);
		CodeGenerateFactory.build("fang_person_kanfang", "用户看房","fang",keyType);
		
		CodeGenerateFactory.build("ash_region", "地区","resource",keyType);
		**/
		
		CodeGenerateFactory.build("fang_tuce", "图册","fang",keyType);
		
	}
}
